<?php
$str = 'abcdefghijklmnopqrstuvwxyz0123456789';
$sp=substr(str_shuffle($str),0,9);
echo $sp.'<br>';
echo md5($sp).'<br>';
echo md5(123456);
?>
